package cn.pop.hsp_system_v2.Service.impl;

import cn.pop.hsp_system_v2.Mapper.TbDocInfoMapper;
import cn.pop.hsp_system_v2.Pojo.TbDocInfo;
import cn.pop.hsp_system_v2.Service.TbDocInfoService;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.plugins.pagination.Page;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

/**
*
*/
@Service
public class TbDocInfoServiceImpl extends ServiceImpl<TbDocInfoMapper, TbDocInfo>
implements TbDocInfoService {
    @Autowired
    private TbDocInfoMapper tbDocInfoMapper;

    @Override
    public IPage<TbDocInfo> selectPage(Page<TbDocInfo> page) {
        return tbDocInfoMapper.selectPage(page, null);
    }

    @Override
    public IPage<TbDocInfo> selectPageLike(Page<TbDocInfo> page, QueryWrapper<TbDocInfo> queryWrapper) {
        return tbDocInfoMapper.selectPage(page, queryWrapper);
    }
}
